new Vue({
    el: '#app',
    data: {
        SERVER_HOST: SERVER_HOST,
        modelId: getUrlKey('modelId'),
        model: {},
        makeTemplate: {},
        imgScale: 1
    },
    mounted() {
        if (this.modelId != null && this.modelId != '') {
            getAjax().post('/web/getModel', toFormData({
                modelId: this.modelId
            })).then(res => {
                if (res.data.data) {
                    this.model = res.data.data;
                    this.model.createtime = getDate(this.model.createtime);
                }
            });
        }
    },
    methods: {
        modelDownload (id) {
        }
    }
});
